dsh-safety: DeepSeek Harness Filesystem Safety Harness
`dsh-safety` is a file system safety plugin for DeepSeek Harness (DSH), designed to prevent configuration loss or environment damage caused by accidental operations. It provides runtime safeguards by enforcing a three-tier file policy through mechanisms such as intercepting recursive deletions, blocking writes to protected paths, and performing code scans. The core of the plugin is a “user-gated approval system,” which requires manual confirmation before any destructive operation can be executed. It supports safe deletion with undo, composite snapshots with rollback, pre-restart validation, and audit logging. The plugin is available as an npm package with zero runtime dependencies, and even if DSH fails to start, its standalone CLI remains usable, ensuring the environment stays auditable and recoverable.
Read More